package cn.maiyar.web.xss;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * XSS配置
 *
 * @author c.c
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "meta.xss")
public class XssProperties {
    // 是否开启
    private Boolean enabled = true;
    // 放行的url
    private List<String> skipUrl;
    // 排除的url
    private List<String> excludePatterns;
}
